home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir30 / pcdcad.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-03-31  |  4KB  |  114 lines

  1. echo off
  2. cls
  3. echo\
  4. echo       ┌────────────────────────────────────────────────────────────┐
  5. echo       │       PC-Draft-CAD   Installation  (Disk version)          │
  6. echo       │                                                            │
  7. echo       │       This will create a PCDCAD sub-directory on your      │
  8. echo       │       current disk. To install on your current hard disk   │
  9. echo       │                                                            │
  10. echo       │   1 - Place this disk in drive A: (or B:)                  │
  11. echo       │                                                            │
  12. echo       │   2 - Make your hard disk root directory current.          │
  13. echo       │       ie: for the C: drive: enter: [C:] and [CD \]         │
  14. echo       │                                                            │
  15. echo       │   3 - Enter: [A:INSTALL]. (or [B:INSTALL])                 │
  16. echo       │                                                            │
  17. echo       │       This will extract all the files from the self-       │
  18. echo       │       extracting LHARC files and will create a START.BAT   │
  19. echo       │       file apropriate for your display system.             │
  20. echo       │                                                            │
  21. echo       │       This batch file is for those of you who have         │
  22. echo       │       obtained PC-Draft-CAD on disk.                       │
  23. echo       │                                                            │
  24. echo       │       If you downloaded PCDCAD.ZIP (single file), run      │
  25. echo       │       BBSINST instead.                                     │
  26. echo       │                                                            │
  27. echo       │       If you do not wish to continue, press Ctrl-C.        │
  28. echo       └────────────────────────────────────────────────────────────┘
  29. echo\
  30. pause
  31. echo we first look at your A: drive, If you don't have a disk in A:
  32. echo -- simply ignore the error message by pressing [F] for fail.
  33. echo -- Then continue with the batch file.
  34. if exist a:pcdcad1.exe goto adrive
  35. set src=B
  36. goto start
  37. :adrive
  38. set src=A
  39. :start
  40. md pcdcad
  41. md pcdcad\fon
  42. md pcdcad\dwg
  43. md pcdcad\lib
  44. md pcdcad\mac
  45. cd pcdcad
  46. %src%:pcdcad3
  47. %src%:pcdcad2
  48. %src%:pcdcad1
  49. copy *.fon fon
  50. del *.fon
  51. copy *.dwg dwg
  52. del *.dwg
  53. copy *.lib lib
  54. del *.lib
  55. copy *.mac mac
  56. del *.mac
  57. cls
  58. vidtest
  59. if errorlevel 7 goto HERCULES
  60. if errorlevel 5 goto VGACOLOR
  61. if errorlevel 4 goto VGAMONO
  62. if errorlevel 3 goto EGACOLOR
  63. if errorlevel 2 goto EGAMONO
  64. if errorlevel 1 goto CGA
  65. echo   Error in detecting video adapter
  66. goto exit2
  67. :HERCULES
  68. set vtype=Hercules
  69. copy hgcstart.bat start.bat
  70. del vgadrv.com
  71. del cgadrv.com
  72. del svgadrv.com
  73. goto exit
  74. :VGACOLOR    
  75. set vtype=VGA-Color
  76. goto VGA
  77. :EGACOLOR
  78. set vtype=EGA-Color
  79. goto VGA
  80. :VGAMONO    
  81. set vtype=VGA-Mono
  82. copy cga.cfg draft3.cfg
  83. goto MONO
  84. :EGAMONO    
  85. set vtype=EGA-Mono
  86. :MONO
  87. copy cga.cfg draft3.cfg
  88. :VGA
  89. copy vgastart.bat start.bat
  90. del hgcdrv.exe
  91. goto exit
  92. :CGA
  93. set vtype=CGA
  94. copy cgastart.bat start.bat
  95. copy cga.cfg draft3.cfg
  96. :exit
  97. echo             You have a %vtype% type video display
  98. :exit2
  99. set src=
  100. set vtype=
  101. echo\
  102. echo       ┌────────────────────────────────────────────────────────────┐
  103. echo       │  Installation is complete. To start PC-Draft-CAD, enter:   │
  104. echo       │                                                            │
  105. echo       │                       START                                │
  106. echo       │                                                            │
  107. echo       │  To print the user manual, type: COPY DRAFT3.DOC PRN       │
  108. echo       │  To print READ.ME1, type: COPY READ.ME1 PRN                │
  109. echo       └────────────────────────────────────────────────────────────┘
  110. echo\
  111. echo\
  112.  
  113. 
  114.